Remove redundant '&' before array name in __RING_SIZE macro.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 18:00:11 +0000 (19:00 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 18:00:11 +0000 (19:00 +0100)
Signed-off-by: Richard Miller <9xen@hamnavoe.com>
xen/include/public/io/ring.h

index 3723ef359dd2d6550d4f7e96d9a4d9458333b0c7..6b56dc3211897992b5c993f729414b955096f0bd 100644 (file)
@@ -25,7 +25,7 @@ typedef unsigned int RING_IDX;
  * power of two (so we can mask with (size-1) to loop around).
  */
 #define __RING_SIZE(_s, _sz) \
-    (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
+    (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
 
 /*
  * Macros to make the correct C datatypes for a new kind of ring.